<script setup lang="ts">
import errorsStore from "@/piniaStore/errorsStore.ts";
const {name} = defineProps<{
    name:string
}>();

</script>

<template>
    <el-alert v-if = "!!errorsStore().getError(name)" style="margin-top:6px;"
        :title="errorsStore().getError(name)"
        type="error"
        show-icon
        :closable="false"
    />
</template>

<style lang="scss" scoped>

</style>